package com.itheima.user.mapper;

import com.itheima.pojo.Order;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface OrderMapper {
    void add(Order order);
    List<Order> findByCondition(Order order);

    //预约成功
    Map findById4Detail(Integer id);
}
